package com.yaorange.api;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 消息返回类
 * @company: yaorange
 * @author: Mr.Liu
 * @version: 1.0
 * @create: 2021-11-21 18:42:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    private Integer code;
    private Boolean success;
    private String message;
    private T data;
    private Long timeStamp = System.currentTimeMillis();

}
